package com.training.web.service;



import com.training.bean.Manager;
import com.training.web.repository.WebManagerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WebManagerService {
    @Autowired
    private WebManagerRepository repository;

    public Manager getManager(String phone) {
        return repository.findManagerByPhone(phone);
    }
}
